package com.cyz.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cyz.dao.UserDao;
import com.cyz.entity.User;
import com.cyz.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserServiceImpl extends ServiceImpl<UserDao, User> implements UserService{

    @Autowired
    UserDao userDao;

    @Override
    public void insertBatch(List<User> list) {

        userDao.insertBatch(list);
    }
}
